package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmOutsourcingOutstockDTO;
import com.xinsoft.entity.dto.ScmOutsourcingOutstockParam;
import com.xinsoft.entity.po.ScmOutsourcingOutstock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmOutsourcingOutstockDetailVo;
import com.xinsoft.entity.vo.ScmOutsourcingOutstockPageVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_outsourcing_outstock(委外出库)】的数据库操作Service
* @createDate 2023-09-01 10:38:54
*/
public interface ScmOutsourcingOutstockService extends IService<ScmOutsourcingOutstock> {

    IPage<ScmOutsourcingOutstockPageVo> findPageListByParam(ScmOutsourcingOutstockParam param);

    List<ScmOutsourcingOutstockPageVo> findListByParam(ScmOutsourcingOutstockParam param);

    Integer tempSave(ScmOutsourcingOutstockDTO dto);

    ScmOutsourcingOutstockDetailVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);
}
